package com.example.login.model


class LoginState(registing: _LoginState, errorMsg: String) {
    var msg: String? = null
    var type: _LoginState? = null
    init {
        msg = errorMsg
        type = registing
    }

    enum class _LoginState {
                INIT,
                LOGINING,
                LOGINFAIR,
                REGISTING,
                REGISTFAIR,
                LOGINSUCCESS,
                REGISTSUCCESS;

        }

}
